home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: Interesting declaration???
- Date: 24 Jan 1996 15:55:52 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Jan24085552@qcd.lanl.gov>
- References: <4e3on1$iir@masala.cc.uh.edu>
- <ALUN.CHAMPION.96Jan24095654@g7240065.bridge.bst.bls.com>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: Alun.Champion@bridge.bst.bls.com's message of 24 Jan 1996 14:56:54 GMT
-
- --text follows this line--
- In article <ALUN.CHAMPION.96Jan24095654@g7240065.bridge.bst.bls.com>
- Alun.Champion@bridge.bst.bls.com (Alun Champion) writes:
- <snip>
- The enumeration are bit flags and require or'ing together (probably not
- in this case) '|' is not defined on enums and must be converted to
- an integer type.
-
- What? enums are integral types as well. (All enumerated types, signed
- and unsigned char,short, int and long, as well as plain char are all
- integral types.) '|' does need integral types.
-
- Cheers
- Tanmoy
-
-
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-